<extend name="Base/common"/>
<block name="body">
	<div class="container">
		<div class="content">
			<div class="per_name"><span>用户名：你好</span></div>
			<ul class="per_money">
				<li class="list_a clearfix"><span>账户余额：</span><strong>10.00</strong></li>
				<li class="list_b clearfix"><span>到账金额：</span><strong>10.00</strong></li>
			</ul>
		</div>
		<div class="content">
			<div class="per_con">
				<h4>充值金额</h4>
				<input type="text" placeholder="最小充值金额为10元" class="input_momey">
				<ul class="list_momey clearfix">
					<li>20.00</li>
					<li>500.00</li>
					<li>100.00</li>
					<li>500.00</li>
					<li>2000.00</li>
					<li>5000.00</li>
				</ul>
		</div>
		</div>
		<div class="per_tip">
			<!-- <p>每笔收取第三方通道费用0.6%</p> -->
			<p>每笔最少10元；每笔限额5000元</p>
		</div>
		<!-- <div class="incharge_msd clearfix">
			<div class="weixin incharge_a">
				<img src="__IMG__/img_3.png" alt="" width="100%">
				<input type="radio">
			</div>
			<div class="bank_card incharge_a">
				<img src="__IMG__/img_4.png" alt=""width="100%">
				<input type="radio">
			</div>
		</div> -->
		<input type="button" class="incharge" value="微信充值">
	</div>
<block name="script">
<script type="text/javascript">	
	$(document).ready(function(){
		// 选择充值方式
		$(".incharge_a").click(function(){
			var obj=$(this);
			if(obj.hasClass("red_bor")){				
				$(this).siblings(".incharge_a").removeClass("red_bor");
				obj.find('input').attr("checked","checked")
				obj.siblings(".incharge_a").find('input').attr("checked",false)
			}else{
				obj.addClass("red_bor");
				obj.find('input').attr("checked","checked")
				obj.siblings(".incharge_a").removeClass("red_bor");
				obj.siblings(".incharge_a").find('input').attr("checked",false)
			}
		})

		//选择充值金额
		$(".list_momey li").click(function(){
			var _obj=$(this);
			var val=_obj.html();
			$('.input_momey').val(val);
			if(_obj.hasClass("red_color")){
				$(this).siblings("li").removeClass("red_color");
			}else{
				_obj.addClass("red_color");
				_obj.siblings("li").removeClass("red_color");
			}
		})

	})
</script>
</block>

</block>